﻿using BaseData.Domain;
using BaseData.ErrorCode;
using BaseData.Infrastructure.DTO;

namespace BaseData.Infrastructure.Metting
{
    public interface IMettingService
    {
        Task<int> AddMetting(MettingRoom metting);
        Task<int> AddRoomAddress(MettingRoomAddress address);
        Task<List<MettingRoomAddress>> GetAddress();
        Task<PaggingResult<List<MettingDto>>> GetMetting(int index,int size,string? name);
        Task<int> DelMetting(int MeetRoomId);
        Task<int> UpdMetting(MettingRoom dto);
        Task<int> AddMettingBook(MettingBooking book);
        Task<List<MeetingTemplate>> GetMeetingTemplates();
        Task<PaggingResult<List<MettingBookDto>>> GetMettingBook(int index,int size,int templateId);
        Task<int> DelMettingBook(int BookId);
        Task<int> UpdMettingBook(MettingBooking book);
    }
}